﻿using System;
using Books.Interfaces;
using Books.Model;

namespace BooksTests.Mock
{
    public class BooksDataMockService : IBooksDataService
    {
        public int CreatePublisher(PublisherModel model)
        {
            throw new NotImplementedException();
        }

        public void DeletePublisher(int publisherId)
        {
            throw new NotImplementedException();
        }

        public BookModel[] GetAllBooks()
        {
            return new BookModel[]
                {
                    new BookModel()
                        {
                            BookId = 1,
                            PublishedYear = 2004,
                            PublisherId = 1,
                            Title = "The Ancestors Tale"
                        }
                };
        }

        public PublisherModel[] GetAllPublishers(string sort)
        {
            throw new NotImplementedException();
        }

        public BookModel GetBookById(int bookId)
        {
            throw new NotImplementedException();
        }

        public PublisherModel GetPublisherById(int publisherId)
        {
            throw new NotImplementedException();
        }

        public PublisherModel[] MatchPublishers(string publisherName, string city)
        {
            throw new NotImplementedException();
        }

        public void UpdatePublisher(PublisherModel model)
        {
            throw new NotImplementedException();
        }
    }
}
